From: Alessandro Bono Date: Wed, 16 Nov 2022 09:10:37 +0000 (+0100) Subject: accessDialog: Change fallback button labels X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~405^2^2~258 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=39263d35304e9de10d75afe551d426913f9ef357;p=gnome-shell.git accessDialog: Change fallback button labels All the new portals dialog mockups have "Deny/Allow" buttons. Rename them. https://gitlab.gnome.org/Teams/Design/os-mockups/-/blob/master/portals/portals.png Part-of: --- diff --git a/js/ui/accessDialog.js b/js/ui/accessDialog.js index 8788e4742..fba2521fd 100644 --- a/js/ui/accessDialog.js +++ b/js/ui/accessDialog.js @@ -36,8 +36,8 @@ class AccessDialog extends ModalDialog.ModalDialog { _buildLayout(title, description, body, options) { // No support for non-modal system dialogs, so ignore the option // let modal = options['modal'] || true; - let denyLabel = options['deny_label'] || _("Deny Access"); - let grantLabel = options['grant_label'] || _("Grant Access"); + let denyLabel = options['deny_label'] || _('Deny'); + let grantLabel = options['grant_label'] || _('Allow'); let choices = options['choices'] || []; let content = new Dialog.MessageDialogContent({ title, description });